Take control of search with Algolia’s API parameters. Use an API client to adjust API parameters that affect search results, filtering options, result presentation, and more.

Parameters

ParameterScopeDescription
queryIndex settingsThe text used to search an index
similarQueryIndex settingsOverrides the query parameter and performs a more generic search to find “similar results

Attributes

Understanding scope

Each Algolia API parameter has one of three scopes.

ScopeModify withNotes
Index settingssetSettings methodDetermine the default settings for an index
Query parameterssearch methodTheir effect is temporary, affecting only the current query
BothsetSettings or searchCan be initialized with setSettings and overridden by search